package org.hawk.gwtppc.webtest.tests.classsuite;

import org.hawk.gwtppc.webtest.common.Asserts;
import org.hawk.gwtppc.webtest.common.Test;
import org.hawk.gwtppc.webtest.tests.mock.AnnotationMock;
import org.hawk.gwtppc.webtest.tests.mock.ClassMock;
import org.hawk.gwtppc.webtest.tests.mock.EnumMock;
import org.hawk.gwtppc.webtest.tests.mock.InterfaceMock;

public class GetSimpleNameTest implements Test {

	public void run() throws Throwable {
		Asserts.assertEquals(ClassMock.class.getSimpleName(), "ClassMock");
		Asserts.assertEquals(InterfaceMock.class.getSimpleName(), "InterfaceMock");
		Asserts.assertEquals(AnnotationMock.class.getSimpleName(), "AnnotationMock");
		Asserts.assertEquals(EnumMock.class.getSimpleName(), "EnumMock");
		// TODO: add anonymous, local and inner classes
	}

	public String getName() {
		return "getSimpleName()";
	}

}
